<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@taglib uri= "http://java.sun.com/jsp/jstl/core" prefix= "c" %> 
<!DOCTYPE html>
<html>
<base href="<%=basePath%>">
<head>
<meta  charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
当前用户名为${username}  
</body>
</html>